<?php
namespace filter;


use core\filter\Filter;
use core\proxy\ProxyEnhancer;
use modules\home\model\UserModel;

class TestFilter extends Filter {
    protected $module = 'home';
    protected $controller = 'test';
    protected $action = '/test.*/';

    public function __construct(UserModel $userModel) {
    }

    public function before()
    {
        echo __METHOD__."\n";
    }

    public function after()
    {
        echo __METHOD__."\n";
    }

    public function afterThrowing()
    {
        echo __METHOD__."\n";
    }

    public function afterReturning()
    {
        echo __METHOD__."\n";
    }


}